# 定义搜索结果类，用于方便处理返回值
class search_result:
    def __init__(self, move=-1, score=0, positions=0, cutoffs=0) -> None:
        self.move = move
        self.positions = positions
        self.cutoffs = cutoffs
        self.score = score